package com.itheima.mongoservice;

import com.itheima.pojo.mongo.Video;

import java.util.List;

public interface SmallVideosServiceApi {
    List<Video> getSmallVideosList(Integer page, Integer pagesize);

    Video getByVid(Integer vid);

    void upLoadVideo(Video video);

    List<Video> getSmallVideosListById(int i, Integer pagesize, Long uid);

    Video getVideoById(String id);

    void updateVideo(Video videoInfo);
}
